// import 'package:flutter_test/flutter_test.dart';
// import 'package:device_util/device_util.dart';
// import 'package:device_util/device_util_platform_interface.dart';
// import 'package:device_util/device_util_method_channel.dart';
// import 'package:plugin_platform_interface/plugin_platform_interface.dart';

// class MockDeviceUtilPlatform
//     with MockPlatformInterfaceMixin
//     implements DeviceUtilPlatform {

//   @override
//   Future<String?> getPlatformVersion() => Future.value('42');
// }

// void main() {
//   final DeviceUtilPlatform initialPlatform = DeviceUtilPlatform.instance;

//   test('$MethodChannelDeviceUtil is the default instance', () {
//     expect(initialPlatform, isInstanceOf<MethodChannelDeviceUtil>());
//   });

//   test('getPlatformVersion', () async {
//     DeviceUtil deviceUtilPlugin = DeviceUtil();
//     MockDeviceUtilPlatform fakePlatform = MockDeviceUtilPlatform();
//     DeviceUtilPlatform.instance = fakePlatform;

//     expect(await deviceUtilPlugin.getPlatformVersion(), '42');
//   });
// }
